using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace MusicEvolution.Database
{
	public class Playlist : DataBaseRow
	{
		DataField _Name;
        DataField _Mood;

        public Playlist()
        {
            _Mood = new DataField("Mood", "");
            _Name = new DataField("Name", "");

            base.Add(_Mood);
            base.Add(_Name);
        }

		public string Name
		{
			get
			{
				return _Name.Value;
			}
			set
			{
				_Name.Value=value;
			}
		}

		public int Mood
		{
			get
			{
                return Convert.ToInt32(_Mood.Value);
			}
			set
			{
                _Mood.Value = value.ToString();
			}
		}
	}
}
